package com.library.service;

import com.library.common.entity.MyPage;
import com.library.entity.ResourceAudit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.library.entity.dto.ResourceAuditDto;

/**
 * <p>
 * 资源审核中间表 服务类
 * </p>
 *
 * @author ccl
 * @since 2025-02-18
 */
public interface ResourceAuditService extends IService<ResourceAudit> {

    //查询发布历史记录
    MyPage<ResourceAudit> queryRecords(ResourceAuditDto dto);

    //详情
    ResourceAudit detail(Long id);

    //新增
    boolean add(ResourceAudit resourceAudit);

    //编辑
    boolean edit(ResourceAudit resourceAudit);

    boolean delete(Long id);

    boolean release(Long id);
}
